﻿<script src="/Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="/Scripts/jquery.unobtrusive-ajax.js" type="text/javascript"></script>

@{
    ViewBag.Title = "t33";
}
<h2>
    t33</h2>
<div>
    @Html.ActionLink("Back to List", "t32")
</div>
<span id="status">No Status</span>
<br />
<br />
@Ajax.ActionLink("Update Status", "GetStatus1", new AjaxOptions { UpdateTargetId = "status" })
<br />
<br />
@Ajax.ActionLink(
                        "换货",
                             "_ExchangePopInit",
                        "test",
                        new { orgID = Model.FormCode, sku = Model.ProductCode, maxnum = Model.CanExChangeCount, productId = Model.ProductId },
                        new AjaxOptions()
                        {
                            UpdateTargetId = "exchangedpop",
                            OnBegin = "beforeOpenPop('" + @Model.ProductCode + "')",
                            OnComplete = "showPop('1')",
                            LoadingElementId = "LoadingDiv"
                        },
                             new { Class = "track", Name = "returns_ExchangeItemInfo_ex_DoExchange" })
